<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/views1/DTD/views1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	<ui:composition template="/views/layout/main.xhtml">
		<ui:define name="conteudo">
			<h:form id="formPrincipal">
				<div class="grid_18 div_48">
					<p:commandButton rendered="#{alunoBean.alunoInstance.id != null}"
						widgetVar="btn_Editar" ajax="false" styleClass="edit-user"
						action="#{alunoBean.goEdit}" title="Editar" />
					<p:commandButton rendered="#{alunoBean.alunoInstance.id != null}" 
						widgetVar="btn_AlterarSenha" type="button" styleClass="key-user"
						onclick="promptAlterarSenha.show();" title="Alterar Senha" />
					<p:commandButton widgetVar="btn_Home" ajax="false" styleClass="home"
						action="#{alunoBean.goHome}" title="Home" />
				</div>
				
				<div class="grid_18 titulo">Minha Página</div>
				
				<div class="grid_18"><p:messages id="mensages"/></div>
				
				<div class="grid_4 label">Nome Completo:</div>
				<div class="grid_14 campo">
					<p:inputText id="aluno_nomeCompleto" disabled="true" styleClass="input-gg" widgetVar="aluno_nomeCompleto" value="#{alunoBean.alunoInstance.nomeCompleto}"/>
				</div>
				
				<div class="grid_4 label">Email:</div>
				<div class="grid_14 campo">
					<p:inputText id="aluno_email" disabled="true" styleClass="input-gg" widgetVar="aluno_email" value="#{alunoBean.alunoInstance.email}"/>
				</div>
			</h:form>
			<!-- INCLUSAO DE TEMPLATES -->
			<ui:include src="/views/alunos/dialogs/dialogAlterarSenha.xhtml"/>
		</ui:define>
	</ui:composition>
</f:view>